package com.learn.rabbit.base.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * 消息传递信息
 *
 * @author zhousiqi
 * @version 1.0.0
 * @date 2019/2/27 10:59
 */

@Data
public class Message<T> implements Serializable {
    private static final long serialVersionUID = -2596266350299516081L;

    private String code;

    private String message;

    private T body;
}
